Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize fork hooks to not conflict with other gems #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

casperisfine
Copy link

Fix: #108

Module#prepend is much more composable than alias method chains.

This is essentially a port of the Active Support implementation.

FYI: @niodice

Fix: zk-ruby#108

`Module#prepend` is much more composable than alias method chains.

This is essentially a port of the Active Support implementation.
@niodice
Copy link

niodice commented Jun 20, 2023

@casperisfine thank you for taking a look at this! The forking logic is not my strong suit.

I was able to confirm that the related error when running with passenger is gone and it appears that the ZK forking is still happening (just based on a puts I added in the CoreExt::fork method). I'm not a good person to comment on the correctness of the fork logic, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fork_tracker active support module does not play nice with passenger and zk gems
3 participants